package com.mspbots.core.teams.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mspbots.core.wise.model.TenantEntity;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.time.LocalDateTime;

/**
 * com.mspbots.core.model.TenantTeamsUser
 *
 * @author Jun Zhou
 * @date 11:50 2019/7/1
 **/
@Data
@TableName(value = "tenant_teams_user", autoResultMap = true)
public class TeamsUser extends TenantEntity {

    private String teamsUserId;
    private String teamsDisplayName;
    private String teamsMail;
    private Boolean isAdmin;
    private String teamsManager;
    private LocalDateTime createDate;
    private String photo;

    private LocalDateTime updateTime;
    private String businessPhone;

    private String jobTitle;
    private String mobilePhone;
    private String officeLocation;
    private String giveName;
    private String surname;
    private String preferredLanguage;
    private String teamsOriginalMail;
    private String situation;
    @Transient
    private String teamsUserPrincipalName;
}
